]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
st-icon: Remove unused size values
authorMarco Trevisan (Treviño) <mail@3v1n0.net>
Fri, 13 Apr 2018 01:11:03 +0000 (21:11 -0400)
committerMarco Trevisan (Treviño) <mail@3v1n0.net>
Fri, 29 Jun 2018 08:43:12 +0000 (10:43 +0200)
src/st/st-icon.c

index 192df60b41acf5fa1552241437897a2e9db66192..988070cd7e373cb150129a53ef13bf2b390d51b9 100644 (file)
@@ -167,11 +167,8 @@ st_icon_paint (ClutterActor *actor)
       if (priv->shadow_pipeline)
         {
           ClutterActorBox allocation;
-          float width, height;
 
           clutter_actor_get_allocation_box (priv->icon_texture, &allocation);
-          clutter_actor_box_get_size (&allocation, &width, &height);
-
           _st_paint_shadow_with_opacity (priv->shadow_spec,
                                          priv->shadow_pipeline,
                                          &allocation,